package com.rh.mapper;

import com.rh.controller.front.vo.CourseWebVo;
import com.rh.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rh.entity.vo.CoursePublishVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 课程 Mapper 接口
 * @author rh
 * @since 2021-09-24
 */
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    //根据课程id查询课程的基本信息
    public CoursePublishVo getPublishCourseInfo(String courseId);

    //根据课程id查询课程基本信息
    CourseWebVo getBaseCourseFrontInfo(String courseId);
}
